package com.heima.user;



import org.mybatis.spring.annotation.MapperScan;

import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.cloud.client.discovery.EnableDiscoveryClient;



@SpringBootApplication   //springboot 核心启动类
@EnableDiscoveryClient   //nacos 低版本需要的  注册中心
@MapperScan("com.heima.user.mapper")  //mp 的包扫描
public class UserApplication {
  public static void main(String[] args) {
    SpringApplication.run(UserApplication.class,args);
  }
}